﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="photo.aspx.cs" Inherits="photo" MasterPageFile="~/Main.master" %>
<asp:Content ContentPlaceHolderID="main_style" runat="server">
    <link href="Styles/photo.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ContentPlaceHolderID="main_left" runat="server">
    <form id="form1" runat="server">
    <div class="leftup">
	    <div class="fromgroup">
            <asp:HyperLink ID="iuser" runat="server" class="iuser">
                <asp:Image id="iuserhead" runat="server" class="iuserhead" Width="700px"/>
            </asp:HyperLink>
            发布于相册 
            <asp:HyperLink ID="albumlink" runat="server"></asp:HyperLink>
	    </div>
		<div class="toolbox">

		 </div>
		 <div class="photosbox">
		    <div class="iphoto"  style="z-index: 2000;">
		        <div class="iphotobox">
                <asp:Image ID="image" runat="server" />
                </div>
		    </div>
		 </div>
		        	
		 <div class="shareToOthers">
		            	<div class="ilable">分享：</div>
			            <!-- Baidu Button BEGIN -->
						<div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare">
						<a class="bds_qzone" title="分享到QQ空间" href="#"></a>
						<a class="bds_tsina" title="分享到新浪微博" href="#"></a>
						<a class="bds_tqq" title="分享到腾讯微博" href="#"></a>
						<a class="bds_renren" title="分享到人人网" href="#"></a>
						<span class="bds_more"></span>
						</div>
						<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=828277" src="http://bdimg.share.baidu.com/static/js/bds_s_v2.js?cdnversion=380971"></script>
						
						<script type="text/javascript">
						    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000)
						</script>
						<!-- Baidu Button END -->
             <asp:Button ID="Button1" runat="server" Text="收藏" class="newgroup" BackColor="#0099FF" 
                            BorderColor="White" BorderStyle="Solid" Font-Size="Medium" ForeColor="White" 
                            Height="41px" onclick="Button1_Click" Width="78px" />
              <asp:Button ID="Button2" runat="server" Text="取消收藏" class="newgroup" BackColor="#0099FF" 
                            BorderColor="White" BorderStyle="Solid" Font-Size="Medium" ForeColor="White" 
                            Height="41px" onclick="Button2_Click" Width="78px" />
              <asp:Button ID="Button3" runat="server" Text="修改图片" class="newgroup" BackColor="#0099FF" 
                            BorderColor="White" BorderStyle="Solid" Font-Size="Medium" ForeColor="White" 
                            Height="41px" onclick="Button3_Click" Width="78px" />
               <asp:Button ID="Button4" runat="server" Text="删除图片" class="newgroup" BackColor="#0099FF" 
                            BorderColor="White" BorderStyle="Solid" Font-Size="Medium" ForeColor="White" 
                            Height="41px" onclick="Button4_Click" Width="78px" />
		</div>

	      <div class="clearBoth"></div>
		  <div class="partitle"><h2>评论</h2></div>
          <asp:ScriptManager ID="commentmanager" runat="server"></asp:ScriptManager>
          <asp:UpdatePanel id="commentpanel" runat="server" >
            <ContentTemplate>
                <asp:TextBox ID="newcomment" runat="server" Height="34px" TextMode="MultiLine" 
                    Width="544px"></asp:TextBox>
                <asp:Button ID="submitcomment" runat="server" Text="提交评论" 
                    onclick="submitcomment_Click" />
			    <div class="photodots">
                     <asp:Repeater ID="rpt_Message" runat="server">
                        <ItemTemplate>
                        <table width="600px" style="border:solid 1px #666666; font-size:10pt; background-color:#ffffff">
                            <tr>
                                <td align="left" width="400px">
                                <%# Eval("content")%>
                                </td>
                                <td align="right" width="300px">
                                <%# Eval("time")%> -<%# Eval("username") %></td>
                            </tr>
                                  
                        </table>
                        </ItemTemplate>
                   </asp:Repeater>
			    </div>
            </ContentTemplate>
          </asp:UpdatePanel>
		  <div class="clearBoth"></div>
    </div>
    <div class="sectiontitle">本相册里的其他图片</div>
         
         <ul class="relatedlist">
            <%=list1 %>
         </ul>
    </form>
</asp:Content>

<asp:Content ContentPlaceHolderID="main_right" runat="server">
    <div class="sectiontitle">图片导航</div>
    <ul class="photonavi">
	    <%=list1 %>
	</ul>
</asp:Content>